package com.springcloud_api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: Wu Linchun
 * @date: 2021/06/04/10:25
 * @Description:
 **/
@Data
@TableName("tb_student")
@NoArgsConstructor
@AllArgsConstructor
public class StudentPO implements Serializable {
   // @TableId
    @TableField("sno")
    private int sno;

    @TableField("sname")
    private String sname;

    @TableField("sage")
    private int age;

    @TableField("ssex")
    private String sex;

    @TableField("sclass")
    private String sclass;
}
